package com.neusoft.a132wxyorderingdish.iface;

import com.neusoft.a132wxyorderingdish.listener.RetrofitListener;

public interface ShopIface {
    void getAllShops(RetrofitListener listener);//不需要传参,需要观察者
    void getFoodByShop(String shop_id, RetrofitListener listener);
    void getShopById(String shop_id, RetrofitListener listener);
    void getFoodById(String food_id, RetrofitListener listener);
    void getAllUserComment(String food_id, RetrofitListener listener);
    void isCollected(String user_id, String shop_food_id, String flag, RetrofitListener listener);
    void getAllUserCollection(String user_id, String flag, RetrofitListener listener);
    void userCollectShop(String user_id, String shop_id, RetrofitListener listener);
    void updateUserById(String user_id,String username,String userpass,String mobilenum,String address,RetrofitListener listener);
    void userCollectFood(String user_id, String food_id, RetrofitListener listener);

}
